package neu.soft.mapper;

import neu.soft.entity.OperationWarehouse;
import neu.soft.query.BasePageQuery;

import java.util.List;


public interface WarehouseMapper {

    int addWarehouse(OperationWarehouse operationWarehouse);

    int updateWarehouse(OperationWarehouse operationWarehouse);

    int deleteWarehouse(Integer warehouseId);

    List<OperationWarehouse> findAll();

    OperationWarehouse findById(Integer warehouseId);

    int findOne(OperationWarehouse operationWarehouse);

    List<OperationWarehouse> findByPage(BasePageQuery baseQuery);

}
